package com.zhm.demo.bean;

import com.zhm.demo.a.TestBean;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

@Data
public class TestBean2 {


    private TestBean testBean;

    private String str;

    public TestBean getTestBean() {
        return testBean;
    }

    @Autowired
    public void setTestBean(TestBean testBean) {
        this.testBean = testBean;
    }
}
